from rest_framework import serializers

from roast.models import Spit


class DebunkSerializer(serializers.ModelSerializer):
    user = serializers.StringRelatedField()
    user_id = serializers.IntegerField()

    class Meta:
        model = Spit
        fields = '__all__'
